package com.springboot.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @author XiaoLuo
 * @ClassName: ZuulDemoApplication
 * @Description: ${todo}
 * @date 2019/4/8 10:59
 */
@SpringBootApplication
@EnableZuulProxy    //开启zuul的网关功能
@EnableDiscoveryClient //开启Eureka客户端发现功能
public class ZuulDemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZuulDemoApplication.class);
    }
}
